package auction.model;

import java.util.*;


public class CategoryManyToManyComponent{
	private Long id;
	private String title;
	
	private Set<CategoryItemManyToManyComponent> categorizedItems=new HashSet<CategoryItemManyToManyComponent>();
	
	public CategoryManyToManyComponent(){
	}
	
	public CategoryManyToManyComponent(String t){
		title=t;
	}
	
	public Long getId(){
		return id;
	}
	public void setId(Long i){
		id=i;
	}
	
	public void setTitle(String i){
		title=i;
	}
	public String getTitle(){
		return title;
	}

	public Set<CategoryItemManyToManyComponent> getCategorizedItems() {
		return categorizedItems;
	}

	public void setCategorizedItems(
			Set<CategoryItemManyToManyComponent> categorizedItems) {
		this.categorizedItems = categorizedItems;
	}
}